//
//  CLBaseMeViewController.m
//  CarLifes
//
//  Created by yu on 2017/8/11.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import "CLBaseMeViewController.h"

@interface CLBaseMeViewController ()

@end

@implementation CLBaseMeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setLeftImageNamed:@"back_gray" action:@selector(returnAction)];
    [self setWhiteNavigationBar];

}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
}

- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
}

- (void)returnAction
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
